package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOnePurchaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOnePurchasePo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOnePurchaseDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOnePurchaseDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOnePurchaseDomainImpl extends BaseDomainImpl<BudgetOnePurchaseDto, BudgetOnePurchasePo> implements BudgetOnePurchaseDomain {

    @Resource
    private BudgetOnePurchaseRepository budgetOnePurchaseRepository;

    @Override
    public BaseRepository<BudgetOnePurchasePo> getMapper() {
        return budgetOnePurchaseRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOnePurchasePo>> getRepositoryClass() {
        return BudgetOnePurchaseRepository.class;
    }

}
